package com.tmindtech.api.enterprise.model

import com.tmindtech.api.base.model.BaseEntity
import java.util.*
import javax.persistence.Entity
import javax.persistence.Table

/**
 * Created by RexQian on 2017/12/1.
 */
@Entity
@Table(name = "t_product_check")
class ProductCheck(
        var enterpriseId: Long? = null,
        @javax.persistence.Transient
        var enterpriseName: String? = null,
        var checkDate: Date? = null,
        var sampleName: String? = null,
        var projectName: String? = null,
        var checkResult: Int? = null
) : BaseEntity()

enum class CheckResult(var value: Int) {
    PASS(0),
    FAIL(1),
    NOT_CHECK(2)
}
